﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Perseus.WCF.Contract.Data;
using Zeus.Thunder.Core;

namespace Perseus.WCF.Client.Basic
{
    class GetEmployeeTest : ITestCase
    {
        public void Run()
        {
            EmployeeData employee = new EmployeeData
            {
                EmployeeID = 1,
                FirstName = "David",
                LastName = "Gu",
                Title = "Software Atchitecturest",
                BirthDate = Convert.ToDateTime("1980-09-01")
            };

            PerseusDemoServiceClient client = new PerseusDemoServiceClient();

            Console.WriteLine("返回结果:");
            Console.WriteLine(client.GetEmployee(employee));

            client.Close();
        }
    }
}
